
export function getToken(){
	const token = JSON.parse(localStorage.getItem('user')) || false
	
	return token&&token || false
}
export function clearUser(){
	localStorage.clear('user')
	return true
}
export function getUser(){
	const user = JSON.parse(localStorage.getItem('user')) || false
	return user
}
